package lesson04;

/**
 * 学生类
 */
public class Student {
    public String name;
    public Student(){}
    public Student(String name){
        this.name = name;
    }
    public void listen(Teacher teacher,Course course){
        System.out.println(this.name + "听"
                + teacher.name + "上"
                + course.name);
    }
}
